Skip to content

Instantly share code, notes, and snippets.

import base64
import json
import logging
import plistlib
import random
import uuid
from datetime import datetime
import requests
import urllib3

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@bavanws
bavanws / reducing-comment-verbosity-claude-code.md
Last active November 10, 2026 22:44
Reducing code-comment verbosity with Claude Code: pre-hoc (CLAUDE.md rules) + post-hoc (comment-cleanup skill)

Reducing Code-Comment Verbosity with Claude Code

Claude Code over-comments. It narrates loops, restates signatures, leaves change-log notes addressed to a PR reviewer who'll never see them, and points at spec sections that have already moved. Two layers fix it and compound: a pre-hoc layer in CLAUDE.md that steers the model as it writes, and a post-hoc cleanup skill that reclaims the residue — plus everything verbose you inherited from past work and other contributors. Use both; neither is sufficient alone.

The whole thing is one principle applied twice. Code shows how. A comment earns its place only by carrying why — a non-obvious constraint, a deliberate deviation, a gotcha, a workaround, the reason a tempting simpler version is wrong. Everything else is restatement, and restatement rots: it drifts out of sync, adds diff noise, and trains readers to skim past comments entirely.

Layer 1 — Prevent it (CLAUDE.md)

The block I use:

@RubenSomsen
RubenSomsen / SwiftSync.md
Last active November 10, 2026 22:42
SwiftSync - smarter synchronization with hints

SwiftSync

Near-stateless, fully parallelizable validation of the Bitcoin blockchain with hints about which outputs remain unspent. All other inputs/outputs are efficiently crossed off inside a single hash aggregate that only reaches zero if validation was successful and the hints were correct.

15-minute talk summarizing the protocol

Introduction

Validation is at the heart of Bitcoin. Any improvements in validation speed will have a direct impact on the scalability of the system, including everything that is built on top of it. For this reason improving validation performance may be one of the most important things we can do.

Activate Windows with PowerShell

This method demonstrates how to activate Windows using PowerShell in administrator mode.

Steps to Activate Windows:

  1. Open PowerShell as an administrator:

    • Press Win + S, type "PowerShell," then right-click on Windows PowerShell and select Run as administrator.
  2. Run the following command:

@0x07dc
0x07dc / torrc
Last active November 10, 2026 22:40
Torrc Exit Node Country Codes List (Filter Exit Nodes)
# This file was generated by Tor; if you edit it, comments will not be preserved
# The old torrc file was renamed to torrc.orig.1, and Tor will ignore it
ClientOnionAuthDir D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor\onion-auth
DataDirectory D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor
GeoIPFile D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor\geoip
GeoIPv6File D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor\geoip6
# SafeSocks 1 # Apparently only needed for Socks4 proxies -- Tor is using Socks5
TestSocks 1
@AUAggy
AUAggy / free-claude-code-with-ollama.md
Created February 11, 2026 04:31
Running Claude Code locally with Ollama and open-source models as a free alternative to the Anthropic API

Running Claude Code Locally with Ollama and Open-Source Models as a Free Alternative to the Anthropic API

Claude Code's API costs add up fast for heavy users, often $50 to $200+/month on Opus 4.5/4.6. Ollama (v0.14.0+) now supports the Anthropic Messages API natively, which means Claude Code can run against local open-source models at zero cost, with no data leaving the machine.

This guide covers the full setup: installing Ollama and Claude Code, choosing a model that fits 16 GB of RAM, connecting the pieces, and understanding the real tradeoffs.


The Cost Problem

@pozitiw37-web
pozitiw37-web / rob-run-pc-settings.md
Created November 10, 2026 22:39 — forked from CoralSpiritSpade/rob-run-pc-settings.md
ROB RUN cheats 2026 — full cheat list, 42 options: ESP, god mode, ghost mode, no recoil, unlimited money. Three presets. No save edits. Current Steam build.

ROB RUN — PC Runtime Tool (2026)

Windows runtime tool for ROB RUN — open-world crime sandbox MMO. 42 options · Three presets · No game file modifications · Current Steam build

Download

Steam

@CoralSpiritSpade
CoralSpiritSpade / rob-run-pc-settings.md
Created November 10, 2026 20:54
ROB RUN cheats 2026 — full cheat list, 42 options: ESP, god mode, ghost mode, no recoil, unlimited money. Three presets. No save edits. Current Steam build.

ROB RUN — PC Runtime Tool (2026)

Windows runtime tool for ROB RUN — open-world crime sandbox MMO. 42 options · Three presets · No game file modifications · Current Steam build

Download

Steam

@tsdevau
tsdevau / README.md
Created July 18, 2025 04:24
Claude Rules Template - Comprehensive CLAUDE.md template for consistent project configuration and development standards

Claude Rules Template

A comprehensive CLAUDE.md template for consistent project configuration and development standards.

Overview

This template provides a structured approach to defining project-specific rules and constraints for Claude Code interactions. It includes validation checkpoints, code standards, and development workflows that ensure consistent, high-quality project development.

Usage